cmake_minimum_required(VERSION 3.10)
project(RayTracing2)

set(CMAKE_CXX_STANDARD 17)

file(GLOB HEADER_FILES ./*.h*)
file(GLOB_RECURSE SRC_FILES ./*.cpp)

add_executable (${PROJECT_NAME} ${HEADER_FILES} ${SRC_FILES})

set_target_properties(${PROJECT_NAME} PROPERTIES VS_GLOBAL_VcpkgEnabled true)

#target_compile_options(${PROJECT_NAME} PUBLIC -Wall -Wextra -pedantic -Wshadow -Wreturn-type -fsanitize=undefined)
#target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
#target_link_libraries(${PROJECT_NAME} PUBLIC -fsanitize=undefined ${OpenCV_LIBRARIES})
target_link_libraries(${PROJECT_NAME}  ${OpenCV_LIBRARIES})
